<%-- 
    Document   : ResultSearchAllEnterprise
    Created on : 10/12/2013, 21:30:17
    Author     : Adriano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<jsp:useBean  type="model.User" id="User" scope="session"/>  
<!DOCTYPE html>
<html>
    <head>

        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>Relatório de Empresas</title>
        <link rel="stylesheet" type="text/css" href="resources/css/custom/main.css">
        <script type="text/javascript" charset="utf-8" language="javascript" src=" resources/js/jquery.js"></script>
        <script type="text/javascript" charset="utf-8" language="javascript" src="resources/js/jquery.dataTables.min.js"></script>
        <script type="text/javascript" charset="utf-8" language="javascript" src="resources/js/dataTables.tableTools.js"></script>
        <script type="text/javascript" charset="utf-8" language="javascript" src="resources/js/custom/relatorios.js"></script>
        <link rel="stylesheet" type="text/css" href="resources/css/jquery.dataTables.css">
        <link rel="stylesheet" type="text/css" href="resources/css/dataTables.tableTools.css">
        <link rel="stylesheet"  href="resources/css/bootstrap.min.css" />


   <body class="reports">
        <div class="wrapper_reports">
            <!--<%@ include file="header.jsp" %>-->
            <div class="title_reports">
                <span class="h1">Relatório de Empresas</span>
            </div>

            <table  id="example"  class="display" cellspacing="0" width="100%" style="height: 100px" >
                <thead>
                    <tr role="row">
                        <th>Razão Social</th> 
                        <th>Cnpj</th>
                        <th>Cidade</th>
                        <th>UF</th>
                        <th>DDD</th>
                        <th>Telefone</th>
                        <th>Email</th>
                        <th>Status</th>


                    </tr>
                </thead> 
                <tbody role="alert" aria-live="polite" aria-relevant="all">
                    <c:forEach items="${ListEmpresa}" var="empresa"> 
                        <tr>
                            <td><c:out value="${empresa.txtCorporateName}"/></td>
                            <td><c:out value="${empresa.txtCnpj}"/></td>
                            <td><c:out value="${empresa.txtCity}"/></td>
                            <td><c:out value="${empresa.txtLstUF}"/></td>
                            <td><c:out value="${empresa.txtDdd}"/></td>
                            <td><c:out value="${empresa.txtPhone}"/></td>
                            <td><c:out value="${empresa.txtEmail}"/></td>
                            <td><c:out value="${empresa.txtLstStatus}"/></td>
                        </tr>
                
                        </c:forEach>
                </tbody>

            </table>
        </div>

    </body>
</html>
